---显示公告时用户可以选择不再显示本次公告，当公告服务中内容修改后会再次显示公告
function xx更新公告()
  -------------------
  local gg内容,err = getCloudContent("gonggao","04F2247B623FD30A")
  sysLog(err)
  sysLog(gg内容)
  ------------------
  if err == 0 then
    local sex = getStringConfig("ggnn","无");
    sysLog(sex)
    if sex ~= gg内容 then
      local ui = require "G_ui"
      local width,height = getScreenSize()
      ui:new(height,width,"下一步","退出","config_ggnn.dat")
      ui:newLine()
      ui:addLebel(9,1,"公告",40,"center","255,0,0")
      ui:newLine()
      ui:addLebel(9.8,5.5,gg内容,30,"left","255,0,255") 
      ui:newLine()
      ui:addCheckBoxGroup(8,1,"公告" .. gg内容,"","不再提示本次公告内容")
      local ret,resgg = ui:show()
      if ret == 0 then
        lua_exit();
      end
      if resgg["公告" .. gg内容].不再提示本次公告内容 == true then
        setStringConfig("ggnn",gg内容);
      end
    end
  end
end
init("0",1)
xx更新公告()